﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="WiskundeOefeningenDataSet" targetNamespace="http://tempuri.org/WiskundeOefeningenDataSet.xsd" xmlns:mstns="http://tempuri.org/WiskundeOefeningenDataSet.xsd" xmlns="http://tempuri.org/WiskundeOefeningenDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="WiskundeOefeningenConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="WiskundeOefeningenConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WindowsFormsApplication2.Properties.Settings.GlobalReference.Default.WiskundeOefeningenConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LeerlingTableAdapter" GeneratorDataComponentClassName="LeerlingTableAdapter" Name="Leerling" UserDataComponentName="LeerlingTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="dbo.Leerling" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Leerling] WHERE (([leerlingID] = @Original_leerlingID) AND ((@IsNull_naam = 1 AND [naam] IS NULL) OR ([naam] = @Original_naam)) AND ((@IsNull_klas = 1 AND [klas] IS NULL) OR ([klas] = @Original_klas)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_naam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="naam" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_naam" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="naam" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_klas" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="klas" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_klas" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="klas" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Leerling] ([naam], [klas]) VALUES (@naam, @klas);
SELECT leerlingID, naam, klas FROM Leerling WHERE (leerlingID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@naam" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="naam" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@klas" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="klas" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT leerlingID, naam, klas FROM dbo.Leerling</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Leerling] SET [naam] = @naam, [klas] = @klas WHERE (([leerlingID] = @Original_leerlingID) AND ((@IsNull_naam = 1 AND [naam] IS NULL) OR ([naam] = @Original_naam)) AND ((@IsNull_klas = 1 AND [klas] IS NULL) OR ([klas] = @Original_klas)));
SELECT leerlingID, naam, klas FROM Leerling WHERE (leerlingID = @leerlingID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@naam" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="naam" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@klas" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="klas" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_naam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="naam" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_naam" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="naam" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_klas" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="klas" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_klas" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="klas" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="leerlingID" ColumnName="leerlingID" DataSourceName="[D:\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\KAARTSPELMULTI\KAARTENLIB\WINDOWSFORMSAPPLICATION2\WISKUNDEOEFENINGEN.MDF].dbo.Leerling" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="leerlingID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="leerlingID" DataSetColumn="leerlingID" />
              <Mapping SourceColumn="naam" DataSetColumn="naam" />
              <Mapping SourceColumn="klas" DataSetColumn="klas" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="dbo.Leerling" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByKlass" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillByKlass" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillByKlass">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT DISTINCT klas
FROM            Leerling
WHERE        (klas = @klas)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="klas" ColumnName="klas" DataSourceName="[9FB8FC7DE2B9EB63ECF557DA368CC2C8_DIO 2010\PROJECTS\PROJECTNET\KAARTENLIB\WINDOWSFORMSAPPLICATION2\WISKUNDEOEFENINGEN - KOPIE.MDF].dbo.Leerling" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@klas" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="klas" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillByOpdrachtSolutions" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetOpdrachtSolutions" GeneratorSourceName="FillByOpdrachtSolutions" GetMethodModifier="Public" GetMethodName="GetOpdrachtSolutions" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetOpdrachtSolutions" UserSourceName="FillByOpdrachtSolutions">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT od.opgaveTekst, od.oplossingTekst, lod.antwoordTekst, lod.fout
FROM dbo.OpdrachtDetail od, dbo.LeerlingOpdrachtDetail lod
WHERE od.opdrachtID = @opdrachtID
	AND od.opdrachtDetailID = lod.opdrachtDetailID
	AND lod.leerlingID = @leerlingID
UNION
SELECT od.opgaveTekst, od.oplossingTekst, '', 1
FROM dbo.OpdrachtDetail od
WHERE NOT EXISTS (SELECT lod.antwoordTekst
		FROM dbo.LeerlingOpdrachtDetail lod
		WHERE od.opdrachtID = @opdrachtID
			AND lod.leerlingID = @leerlingID
			AND lod.opdrachtDetailID = od.opdrachtDetailID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="dbo.Leerling" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillKlassen" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillKlassen" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="FillKlassen">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT DISTINCT klas FROM dbo.Leerling</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="dbo.Leerling" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByKlas" GetMethodModifier="Public" GetMethodName="GetDataByKlas" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByKlas" UserSourceName="GetDataByKlas">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT leerlingID, naam, klas FROM dbo.Leerling WHERE klas = @klas</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="klas" ColumnName="klas" DataSourceName="[9FB8FC7DE2B9EB63ECF557DA368CC2C8_DIO 2010\PROJECTS\PROJECTNET\KAARTENLIB\WINDOWSFORMSAPPLICATION2\WISKUNDEOEFENINGEN - KOPIE.MDF].dbo.Leerling" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@klas" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="klas" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="leerlingOpdrachtTableAdapter" GeneratorDataComponentClassName="leerlingOpdrachtTableAdapter" Name="leerlingOpdracht" UserDataComponentName="leerlingOpdrachtTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="dbo.leerlingOpdracht" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[leerlingOpdracht] WHERE (([leerlingOpdrachtID] = @Original_leerlingOpdrachtID) AND ([leerlingID] = @Original_leerlingID) AND ([opdrachtID] = @Original_opdrachtID))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_leerlingOpdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingOpdrachtID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[leerlingOpdracht] ([leerlingID], [opdrachtID]) VALUES (@leerlingID, @opdrachtID);
SELECT leerlingOpdrachtID, leerlingID, opdrachtID FROM leerlingOpdracht WHERE (leerlingOpdrachtID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT leerlingOpdrachtID, leerlingID, opdrachtID FROM dbo.leerlingOpdracht</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[leerlingOpdracht] SET [leerlingID] = @leerlingID, [opdrachtID] = @opdrachtID WHERE (([leerlingOpdrachtID] = @Original_leerlingOpdrachtID) AND ([leerlingID] = @Original_leerlingID) AND ([opdrachtID] = @Original_opdrachtID));
SELECT leerlingOpdrachtID, leerlingID, opdrachtID FROM leerlingOpdracht WHERE (leerlingOpdrachtID = @leerlingOpdrachtID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_leerlingOpdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingOpdrachtID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="leerlingOpdrachtID" ColumnName="leerlingOpdrachtID" DataSourceName="[D:\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\KAARTSPELMULTI\KAARTENLIB\WINDOWSFORMSAPPLICATION2\WISKUNDEOEFENINGEN.MDF].dbo.leerlingOpdracht" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@leerlingOpdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="leerlingOpdrachtID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="leerlingOpdrachtID" DataSetColumn="leerlingOpdrachtID" />
              <Mapping SourceColumn="leerlingID" DataSetColumn="leerlingID" />
              <Mapping SourceColumn="opdrachtID" DataSetColumn="opdrachtID" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteQueriesMetOpdrachtID" Modifier="Public" Name="DeleteQueriesMetOpdrachtID" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteQueriesMetOpdrachtID">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM leerlingOpdracht
WHERE        (opdrachtID = @opdrachtID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="opdrachtID" ColumnName="opdrachtID" DataSourceName="[9FB8FC7DE2B9EB63ECF557DA368CC2C8_DIO 2010\PROJECTS\PROJECTNET\KAARTENLIB\WINDOWSFORMSAPPLICATION2\WISKUNDEOEFENINGEN - KOPIE.MDF].dbo.leerlingOpdracht" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="opdrachtID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LeerlingOpdrachtDetailTableAdapter" GeneratorDataComponentClassName="LeerlingOpdrachtDetailTableAdapter" Name="LeerlingOpdrachtDetail" UserDataComponentName="LeerlingOpdrachtDetailTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="dbo.LeerlingOpdrachtDetail" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[LeerlingOpdrachtDetail] WHERE (([leerlingOpdrachtDetailID] = @Original_leerlingOpdrachtDetailID) AND ((@IsNull_antwoordTekst = 1 AND [antwoordTekst] IS NULL) OR ([antwoordTekst] = @Original_antwoordTekst)) AND ((@IsNull_fout = 1 AND [fout] IS NULL) OR ([fout] = @Original_fout)) AND ((@IsNull_opdrachtDetailID = 1 AND [opdrachtDetailID] IS NULL) OR ([opdrachtDetailID] = @Original_opdrachtDetailID)) AND ((@IsNull_leerlingID = 1 AND [leerlingID] IS NULL) OR ([leerlingID] = @Original_leerlingID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_leerlingOpdrachtDetailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingOpdrachtDetailID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_antwoordTekst" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="antwoordTekst" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_antwoordTekst" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="antwoordTekst" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fout" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fout" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_fout" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fout" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_opdrachtDetailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtDetailID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_opdrachtDetailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtDetailID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[LeerlingOpdrachtDetail] ([antwoordTekst], [fout], [opdrachtDetailID], [leerlingID]) VALUES (@antwoordTekst, @fout, @opdrachtDetailID, @leerlingID);
SELECT leerlingOpdrachtDetailID, antwoordTekst, fout, opdrachtDetailID, leerlingID FROM LeerlingOpdrachtDetail WHERE (leerlingOpdrachtDetailID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@antwoordTekst" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="antwoordTekst" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@fout" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fout" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@opdrachtDetailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtDetailID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT leerlingOpdrachtDetailID, antwoordTekst, fout, opdrachtDetailID, leerlingID FROM dbo.LeerlingOpdrachtDetail</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[LeerlingOpdrachtDetail] SET [antwoordTekst] = @antwoordTekst, [fout] = @fout, [opdrachtDetailID] = @opdrachtDetailID, [leerlingID] = @leerlingID WHERE (([leerlingOpdrachtDetailID] = @Original_leerlingOpdrachtDetailID) AND ((@IsNull_antwoordTekst = 1 AND [antwoordTekst] IS NULL) OR ([antwoordTekst] = @Original_antwoordTekst)) AND ((@IsNull_fout = 1 AND [fout] IS NULL) OR ([fout] = @Original_fout)) AND ((@IsNull_opdrachtDetailID = 1 AND [opdrachtDetailID] IS NULL) OR ([opdrachtDetailID] = @Original_opdrachtDetailID)) AND ((@IsNull_leerlingID = 1 AND [leerlingID] IS NULL) OR ([leerlingID] = @Original_leerlingID)));
SELECT leerlingOpdrachtDetailID, antwoordTekst, fout, opdrachtDetailID, leerlingID FROM LeerlingOpdrachtDetail WHERE (leerlingOpdrachtDetailID = @leerlingOpdrachtDetailID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@antwoordTekst" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="antwoordTekst" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@fout" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fout" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@opdrachtDetailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtDetailID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_leerlingOpdrachtDetailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingOpdrachtDetailID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_antwoordTekst" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="antwoordTekst" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_antwoordTekst" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="antwoordTekst" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_fout" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fout" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_fout" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="fout" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_opdrachtDetailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtDetailID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_opdrachtDetailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtDetailID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="leerlingID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="leerlingOpdrachtDetailID" ColumnName="leerlingOpdrachtDetailID" DataSourceName="[D:\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\KAARTSPELMULTI\KAARTENLIB\WINDOWSFORMSAPPLICATION2\WISKUNDEOEFENINGEN.MDF].dbo.LeerlingOpdrachtDetail" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@leerlingOpdrachtDetailID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="leerlingOpdrachtDetailID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="leerlingOpdrachtDetailID" DataSetColumn="leerlingOpdrachtDetailID" />
              <Mapping SourceColumn="antwoordTekst" DataSetColumn="antwoordTekst" />
              <Mapping SourceColumn="fout" DataSetColumn="fout" />
              <Mapping SourceColumn="opdrachtDetailID" DataSetColumn="opdrachtDetailID" />
              <Mapping SourceColumn="leerlingID" DataSetColumn="leerlingID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OpdrachtTableAdapter" GeneratorDataComponentClassName="OpdrachtTableAdapter" Name="Opdracht" UserDataComponentName="OpdrachtTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="dbo.Opdracht" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM Opdracht
WHERE        (opdrachtID = @Original_opdrachtID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="Original_opdrachtID" ColumnName="opdrachtID" DataSourceName="[C:\USERS\KEN\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\PROJECTNET\KAARTENLIB\WISKUNDEOEFENINGEN - KOPIE.MDF].dbo.Opdracht" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="opdrachtID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Opdracht] ([opdrachtDatum], [moeilijkheidsGraad], [maxScore], [status]) VALUES (@opdrachtDatum, @moeilijkheidsGraad, @maxScore, @status);
SELECT opdrachtID, opdrachtDatum, moeilijkheidsGraad, maxScore, status FROM Opdracht WHERE (opdrachtID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@opdrachtDatum" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="opdrachtDatum" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@moeilijkheidsGraad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="moeilijkheidsGraad" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@maxScore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxScore" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@status" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT opdrachtID, opdrachtDatum, moeilijkheidsGraad, maxScore, status FROM dbo.Opdracht</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Opdracht] SET [opdrachtDatum] = @opdrachtDatum, [moeilijkheidsGraad] = @moeilijkheidsGraad, [maxScore] = @maxScore, [status] = @status WHERE (([opdrachtID] = @Original_opdrachtID) AND ([opdrachtDatum] = @Original_opdrachtDatum) AND ([moeilijkheidsGraad] = @Original_moeilijkheidsGraad) AND ([maxScore] = @Original_maxScore) AND ([status] = @Original_status));
SELECT opdrachtID, opdrachtDatum, moeilijkheidsGraad, maxScore, status FROM Opdracht WHERE (opdrachtID = @opdrachtID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@opdrachtDatum" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="opdrachtDatum" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@moeilijkheidsGraad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="moeilijkheidsGraad" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@maxScore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxScore" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@status" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_opdrachtDatum" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="opdrachtDatum" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_moeilijkheidsGraad" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="moeilijkheidsGraad" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_maxScore" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="maxScore" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_status" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="opdrachtID" ColumnName="opdrachtID" DataSourceName="[D:\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\KAARTSPELMULTI\KAARTENLIB\WINDOWSFORMSAPPLICATION2\WISKUNDEOEFENINGEN.MDF].dbo.Opdracht" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="opdrachtID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="opdrachtID" DataSetColumn="opdrachtID" />
              <Mapping SourceColumn="opdrachtDatum" DataSetColumn="opdrachtDatum" />
              <Mapping SourceColumn="moeilijkheidsGraad" DataSetColumn="moeilijkheidsGraad" />
              <Mapping SourceColumn="maxScore" DataSetColumn="maxScore" />
              <Mapping SourceColumn="status" DataSetColumn="status" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillByDataBefore" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBefore" GeneratorSourceName="FillByDataBefore" GetMethodModifier="Public" GetMethodName="GetDataBefore" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBefore" UserSourceName="FillByDataBefore">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT opdrachtID, opdrachtDatum, moeilijkheidsGraad, maxScore, status 
FROM dbo.Opdracht
WHERE (opdrachtDatum &lt; @opdrachtDatum)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@opdrachtDatum" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillByOnafgewerkteOpdrachten" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetOnafgewerkteOpdrachten" GeneratorSourceName="FillByOnafgewerkteOpdrachten" GetMethodModifier="Public" GetMethodName="GetOnafgewerkteOpdrachten" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetOnafgewerkteOpdrachten" UserSourceName="FillByOnafgewerkteOpdrachten">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT o.opdrachtID
FROM dbo.Opdracht o
WHERE EXISTS (SELECT lo.*
		FROM dbo.LeerlingOpdracht lo
		WHERE lo.opdrachtID = o.opdrachtID AND lo.leerlingID = @leerlingID)
	AND ((SELECT count(*)
		FROM dbo.OpdrachtDetail od
		WHERE od.opdrachtID = o.opdrachtID) 
		=
		(SELECT count(*)
		FROM dbo.LeerlingOpdrachtDetail lod, dbo.OpdrachtDetail od
		WHERE lod.opdrachtDetailID = od.opdrachtDetailID 
			AND lod.leerlingID = @leerlingID 
			AND od.opdrachtID = o.opdrachtID))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@leerlingID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OpdrachtDetailTableAdapter" GeneratorDataComponentClassName="OpdrachtDetailTableAdapter" Name="OpdrachtDetail" UserDataComponentName="OpdrachtDetailTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="dbo.OpdrachtDetail" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM OpdrachtDetail
WHERE        (opdrachtDetailID = @Original_opdrachtDetailID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="Original_opdrachtDetailID" ColumnName="opdrachtDetailID" DataSourceName="[9FB8FC7DE2B9EB63ECF557DA368CC2C8_DIO 2010\PROJECTS\PROJECTNET\KAARTENLIB\WINDOWSFORMSAPPLICATION2\WISKUNDEOEFENINGEN - KOPIE.MDF].dbo.OpdrachtDetail" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@Original_opdrachtDetailID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="opdrachtDetailID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[OpdrachtDetail] ([opgaveTekst], [oplossingTekst], [opdrachtID]) VALUES (@opgaveTekst, @oplossingTekst, @opdrachtID);
SELECT opdrachtDetailID, opgaveTekst, oplossingTekst, opdrachtID FROM OpdrachtDetail WHERE (opdrachtDetailID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@opgaveTekst" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="opgaveTekst" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@oplossingTekst" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="oplossingTekst" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT opdrachtDetailID, opgaveTekst, oplossingTekst, opdrachtID FROM dbo.OpdrachtDetail</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[OpdrachtDetail] SET [opgaveTekst] = @opgaveTekst, [oplossingTekst] = @oplossingTekst, [opdrachtID] = @opdrachtID WHERE (([opdrachtDetailID] = @Original_opdrachtDetailID) AND ((@IsNull_opgaveTekst = 1 AND [opgaveTekst] IS NULL) OR ([opgaveTekst] = @Original_opgaveTekst)) AND ((@IsNull_oplossingTekst = 1 AND [oplossingTekst] IS NULL) OR ([oplossingTekst] = @Original_oplossingTekst)) AND ([opdrachtID] = @Original_opdrachtID));
SELECT opdrachtDetailID, opgaveTekst, oplossingTekst, opdrachtID FROM OpdrachtDetail WHERE (opdrachtDetailID = @opdrachtDetailID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@opgaveTekst" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="opgaveTekst" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@oplossingTekst" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="oplossingTekst" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_opdrachtDetailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtDetailID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_opgaveTekst" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opgaveTekst" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_opgaveTekst" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="opgaveTekst" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_oplossingTekst" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="oplossingTekst" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_oplossingTekst" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="oplossingTekst" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="opdrachtID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="opdrachtDetailID" ColumnName="opdrachtDetailID" DataSourceName="[D:\DOCUMENTS\VISUAL STUDIO 2010\PROJECTS\KAARTSPELMULTI\KAARTENLIB\WINDOWSFORMSAPPLICATION2\WISKUNDEOEFENINGEN.MDF].dbo.OpdrachtDetail" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@opdrachtDetailID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="opdrachtDetailID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="opdrachtDetailID" DataSetColumn="opdrachtDetailID" />
              <Mapping SourceColumn="opgaveTekst" DataSetColumn="opgaveTekst" />
              <Mapping SourceColumn="oplossingTekst" DataSetColumn="oplossingTekst" />
              <Mapping SourceColumn="opdrachtID" DataSetColumn="opdrachtID" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteQueriesMetOpdrachtID" Modifier="Public" Name="DeleteQueriesMetOpdrachtID" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="DeleteQueriesMetOpdrachtID">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM OpdrachtDetail
WHERE        (opdrachtID = @opdrachtID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="opdrachtID" ColumnName="opdrachtID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="opdrachtID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="WiskundeOefeningenConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="FillByLeerlingenOpdracht" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetLeerlingenOpdracht" GeneratorSourceName="FillByLeerlingenOpdracht" GetMethodModifier="Public" GetMethodName="GetLeerlingenOpdracht" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetLeerlingenOpdracht" UserSourceName="FillByLeerlingenOpdracht">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT leerlingID, naam, klas, (((SELECT cast(count(*) as numeric)
			  FROM dbo.LeerlingOpdrachtDetail lod
			  WHERE lod.leerlingID = l.leerlingID 
				AND lod.opdrachtDetailID IN (SELECT opdrachtDetailID
						               FROM dbo.OpdrachtDetail od
	        					               WHERE od.opdrachtID = @opdrachtID))
			/
			(SELECT cast(count(*) as numeric)
			 FROM dbo.OpdrachtDetail od
			 WHERE od.opdrachtID = @opdrachtID)) 
			 * 
			(SELECT cast(maxScore as numeric)
			 FROM dbo.Opdracht o
			 WHERE o.opdrachtID = @opdrachtID)) as score
FROM dbo.Leerling l, dbo.LeerlingOpdracht lo
WHERE lo.opdrachtID = @opdrachtID AND lo.leerlingID = l.leerlingID</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@opdrachtID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="WiskundeOefeningenDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="WiskundeOefeningenDataSet" msprop:Generator_UserDSName="WiskundeOefeningenDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Leerling" msprop:Generator_TableClassName="LeerlingDataTable" msprop:Generator_TableVarName="tableLeerling" msprop:Generator_TablePropName="Leerling" msprop:Generator_RowDeletingName="LeerlingRowDeleting" msprop:Generator_UserTableName="Leerling" msprop:Generator_RowChangingName="LeerlingRowChanging" msprop:Generator_RowEvHandlerName="LeerlingRowChangeEventHandler" msprop:Generator_RowDeletedName="LeerlingRowDeleted" msprop:Generator_RowEvArgName="LeerlingRowChangeEvent" msprop:Generator_RowChangedName="LeerlingRowChanged" msprop:Generator_RowClassName="LeerlingRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="leerlingID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnleerlingID" msprop:Generator_ColumnPropNameInRow="leerlingID" msprop:Generator_ColumnPropNameInTable="leerlingIDColumn" msprop:Generator_UserColumnName="leerlingID" type="xs:int" />
              <xs:element name="naam" msprop:Generator_ColumnVarNameInTable="columnnaam" msprop:Generator_ColumnPropNameInRow="naam" msprop:Generator_ColumnPropNameInTable="naamColumn" msprop:Generator_UserColumnName="naam" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="klas" msprop:Generator_ColumnVarNameInTable="columnklas" msprop:Generator_ColumnPropNameInRow="klas" msprop:Generator_ColumnPropNameInTable="klasColumn" msprop:Generator_UserColumnName="klas" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="leerlingOpdracht" msprop:Generator_TableClassName="leerlingOpdrachtDataTable" msprop:Generator_TableVarName="tableleerlingOpdracht" msprop:Generator_TablePropName="leerlingOpdracht" msprop:Generator_RowDeletingName="leerlingOpdrachtRowDeleting" msprop:Generator_UserTableName="leerlingOpdracht" msprop:Generator_RowChangingName="leerlingOpdrachtRowChanging" msprop:Generator_RowEvHandlerName="leerlingOpdrachtRowChangeEventHandler" msprop:Generator_RowDeletedName="leerlingOpdrachtRowDeleted" msprop:Generator_RowEvArgName="leerlingOpdrachtRowChangeEvent" msprop:Generator_RowChangedName="leerlingOpdrachtRowChanged" msprop:Generator_RowClassName="leerlingOpdrachtRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="leerlingOpdrachtID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnleerlingOpdrachtID" msprop:Generator_ColumnPropNameInRow="leerlingOpdrachtID" msprop:Generator_ColumnPropNameInTable="leerlingOpdrachtIDColumn" msprop:Generator_UserColumnName="leerlingOpdrachtID" type="xs:int" />
              <xs:element name="leerlingID" msprop:Generator_ColumnVarNameInTable="columnleerlingID" msprop:Generator_ColumnPropNameInRow="leerlingID" msprop:Generator_ColumnPropNameInTable="leerlingIDColumn" msprop:Generator_UserColumnName="leerlingID" type="xs:int" />
              <xs:element name="opdrachtID" msprop:Generator_ColumnVarNameInTable="columnopdrachtID" msprop:Generator_ColumnPropNameInRow="opdrachtID" msprop:Generator_ColumnPropNameInTable="opdrachtIDColumn" msprop:Generator_UserColumnName="opdrachtID" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="LeerlingOpdrachtDetail" msprop:Generator_TableClassName="LeerlingOpdrachtDetailDataTable" msprop:Generator_TableVarName="tableLeerlingOpdrachtDetail" msprop:Generator_TablePropName="LeerlingOpdrachtDetail" msprop:Generator_RowDeletingName="LeerlingOpdrachtDetailRowDeleting" msprop:Generator_UserTableName="LeerlingOpdrachtDetail" msprop:Generator_RowChangingName="LeerlingOpdrachtDetailRowChanging" msprop:Generator_RowEvHandlerName="LeerlingOpdrachtDetailRowChangeEventHandler" msprop:Generator_RowDeletedName="LeerlingOpdrachtDetailRowDeleted" msprop:Generator_RowEvArgName="LeerlingOpdrachtDetailRowChangeEvent" msprop:Generator_RowChangedName="LeerlingOpdrachtDetailRowChanged" msprop:Generator_RowClassName="LeerlingOpdrachtDetailRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="leerlingOpdrachtDetailID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnleerlingOpdrachtDetailID" msprop:Generator_ColumnPropNameInRow="leerlingOpdrachtDetailID" msprop:Generator_ColumnPropNameInTable="leerlingOpdrachtDetailIDColumn" msprop:Generator_UserColumnName="leerlingOpdrachtDetailID" type="xs:int" />
              <xs:element name="antwoordTekst" msprop:Generator_ColumnVarNameInTable="columnantwoordTekst" msprop:Generator_ColumnPropNameInRow="antwoordTekst" msprop:Generator_ColumnPropNameInTable="antwoordTekstColumn" msprop:Generator_UserColumnName="antwoordTekst" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fout" msprop:Generator_ColumnVarNameInTable="columnfout" msprop:Generator_ColumnPropNameInRow="fout" msprop:Generator_ColumnPropNameInTable="foutColumn" msprop:Generator_UserColumnName="fout" type="xs:int" minOccurs="0" />
              <xs:element name="opdrachtDetailID" msprop:Generator_ColumnVarNameInTable="columnopdrachtDetailID" msprop:Generator_ColumnPropNameInRow="opdrachtDetailID" msprop:Generator_ColumnPropNameInTable="opdrachtDetailIDColumn" msprop:Generator_UserColumnName="opdrachtDetailID" type="xs:int" minOccurs="0" />
              <xs:element name="leerlingID" msprop:Generator_ColumnVarNameInTable="columnleerlingID" msprop:Generator_ColumnPropNameInRow="leerlingID" msprop:Generator_ColumnPropNameInTable="leerlingIDColumn" msprop:Generator_UserColumnName="leerlingID" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Opdracht" msprop:Generator_TableClassName="OpdrachtDataTable" msprop:Generator_TableVarName="tableOpdracht" msprop:Generator_TablePropName="Opdracht" msprop:Generator_RowDeletingName="OpdrachtRowDeleting" msprop:Generator_UserTableName="Opdracht" msprop:Generator_RowChangingName="OpdrachtRowChanging" msprop:Generator_RowEvHandlerName="OpdrachtRowChangeEventHandler" msprop:Generator_RowDeletedName="OpdrachtRowDeleted" msprop:Generator_RowEvArgName="OpdrachtRowChangeEvent" msprop:Generator_RowChangedName="OpdrachtRowChanged" msprop:Generator_RowClassName="OpdrachtRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="opdrachtID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnopdrachtID" msprop:Generator_ColumnPropNameInRow="opdrachtID" msprop:Generator_ColumnPropNameInTable="opdrachtIDColumn" msprop:Generator_UserColumnName="opdrachtID" type="xs:int" />
              <xs:element name="opdrachtDatum" msprop:Generator_ColumnVarNameInTable="columnopdrachtDatum" msprop:Generator_ColumnPropNameInRow="opdrachtDatum" msprop:Generator_ColumnPropNameInTable="opdrachtDatumColumn" msprop:Generator_UserColumnName="opdrachtDatum" type="xs:dateTime" />
              <xs:element name="moeilijkheidsGraad" msprop:Generator_ColumnVarNameInTable="columnmoeilijkheidsGraad" msprop:Generator_ColumnPropNameInRow="moeilijkheidsGraad" msprop:Generator_ColumnPropNameInTable="moeilijkheidsGraadColumn" msprop:Generator_UserColumnName="moeilijkheidsGraad" type="xs:int" />
              <xs:element name="maxScore" msprop:Generator_ColumnVarNameInTable="columnmaxScore" msprop:Generator_ColumnPropNameInRow="maxScore" msprop:Generator_ColumnPropNameInTable="maxScoreColumn" msprop:Generator_UserColumnName="maxScore" type="xs:int" />
              <xs:element name="status" msprop:Generator_ColumnVarNameInTable="columnstatus" msprop:Generator_ColumnPropNameInRow="status" msprop:Generator_ColumnPropNameInTable="statusColumn" msprop:Generator_UserColumnName="status">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="OpdrachtDetail" msprop:Generator_TableClassName="OpdrachtDetailDataTable" msprop:Generator_TableVarName="tableOpdrachtDetail" msprop:Generator_TablePropName="OpdrachtDetail" msprop:Generator_RowDeletingName="OpdrachtDetailRowDeleting" msprop:Generator_UserTableName="OpdrachtDetail" msprop:Generator_RowChangingName="OpdrachtDetailRowChanging" msprop:Generator_RowEvHandlerName="OpdrachtDetailRowChangeEventHandler" msprop:Generator_RowDeletedName="OpdrachtDetailRowDeleted" msprop:Generator_RowEvArgName="OpdrachtDetailRowChangeEvent" msprop:Generator_RowChangedName="OpdrachtDetailRowChanged" msprop:Generator_RowClassName="OpdrachtDetailRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="opdrachtDetailID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnopdrachtDetailID" msprop:Generator_ColumnPropNameInRow="opdrachtDetailID" msprop:Generator_ColumnPropNameInTable="opdrachtDetailIDColumn" msprop:Generator_UserColumnName="opdrachtDetailID" type="xs:int" />
              <xs:element name="opgaveTekst" msprop:Generator_ColumnVarNameInTable="columnopgaveTekst" msprop:Generator_ColumnPropNameInRow="opgaveTekst" msprop:Generator_ColumnPropNameInTable="opgaveTekstColumn" msprop:Generator_UserColumnName="opgaveTekst" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="oplossingTekst" msprop:Generator_ColumnVarNameInTable="columnoplossingTekst" msprop:Generator_ColumnPropNameInRow="oplossingTekst" msprop:Generator_ColumnPropNameInTable="oplossingTekstColumn" msprop:Generator_UserColumnName="oplossingTekst" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="opdrachtID" msprop:Generator_ColumnVarNameInTable="columnopdrachtID" msprop:Generator_ColumnPropNameInRow="opdrachtID" msprop:Generator_ColumnPropNameInTable="opdrachtIDColumn" msprop:Generator_UserColumnName="opdrachtID" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Leerling" />
      <xs:field xpath="mstns:leerlingID" />
    </xs:unique>
    <xs:unique name="leerlingOpdracht_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:leerlingOpdracht" />
      <xs:field xpath="mstns:leerlingOpdrachtID" />
    </xs:unique>
    <xs:unique name="LeerlingOpdrachtDetail_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:LeerlingOpdrachtDetail" />
      <xs:field xpath="mstns:leerlingOpdrachtDetailID" />
    </xs:unique>
    <xs:unique name="Opdracht_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Opdracht" />
      <xs:field xpath="mstns:opdrachtID" />
    </xs:unique>
    <xs:unique name="OpdrachtDetail_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:OpdrachtDetail" />
      <xs:field xpath="mstns:opdrachtDetailID" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_leerlingOpdracht_Leerling" msdata:parent="Leerling" msdata:child="leerlingOpdracht" msdata:parentkey="leerlingID" msdata:childkey="leerlingID" msprop:Generator_UserChildTable="leerlingOpdracht" msprop:Generator_ChildPropName="GetleerlingOpdrachtRows" msprop:Generator_ParentPropName="LeerlingRow" msprop:Generator_UserRelationName="FK_leerlingOpdracht_Leerling" msprop:Generator_RelationVarName="relationFK_leerlingOpdracht_Leerling" msprop:Generator_UserParentTable="Leerling" />
      <msdata:Relationship name="FK_leerlingOpdracht_Opdracht" msdata:parent="Opdracht" msdata:child="leerlingOpdracht" msdata:parentkey="opdrachtID" msdata:childkey="opdrachtID" msprop:Generator_UserChildTable="leerlingOpdracht" msprop:Generator_ChildPropName="GetleerlingOpdrachtRows" msprop:Generator_ParentPropName="OpdrachtRow" msprop:Generator_UserRelationName="FK_leerlingOpdracht_Opdracht" msprop:Generator_RelationVarName="relationFK_leerlingOpdracht_Opdracht" msprop:Generator_UserParentTable="Opdracht" />
      <msdata:Relationship name="FK_LeerlingOpdrachtDetail_Leerling" msdata:parent="Leerling" msdata:child="LeerlingOpdrachtDetail" msdata:parentkey="leerlingID" msdata:childkey="leerlingID" msprop:Generator_UserChildTable="LeerlingOpdrachtDetail" msprop:Generator_ChildPropName="GetLeerlingOpdrachtDetailRows" msprop:Generator_ParentPropName="LeerlingRow" msprop:Generator_UserRelationName="FK_LeerlingOpdrachtDetail_Leerling" msprop:Generator_RelationVarName="relationFK_LeerlingOpdrachtDetail_Leerling" msprop:Generator_UserParentTable="Leerling" />
      <msdata:Relationship name="FK_OpdrachtDetail_Opdracht" msdata:parent="Opdracht" msdata:child="OpdrachtDetail" msdata:parentkey="opdrachtID" msdata:childkey="opdrachtID" msprop:Generator_UserChildTable="OpdrachtDetail" msprop:Generator_ChildPropName="GetOpdrachtDetailRows" msprop:Generator_ParentPropName="OpdrachtRow" msprop:Generator_UserRelationName="FK_OpdrachtDetail_Opdracht" msprop:Generator_RelationVarName="relationFK_OpdrachtDetail_Opdracht" msprop:Generator_UserParentTable="Opdracht" />
      <msdata:Relationship name="FK_LeerlingOpdrachtDetail_OpdrachtDetail" msdata:parent="OpdrachtDetail" msdata:child="LeerlingOpdrachtDetail" msdata:parentkey="opdrachtDetailID" msdata:childkey="opdrachtDetailID" msprop:Generator_UserChildTable="LeerlingOpdrachtDetail" msprop:Generator_ChildPropName="GetLeerlingOpdrachtDetailRows" msprop:Generator_ParentPropName="OpdrachtDetailRow" msprop:Generator_UserRelationName="FK_LeerlingOpdrachtDetail_OpdrachtDetail" msprop:Generator_RelationVarName="relationFK_LeerlingOpdrachtDetail_OpdrachtDetail" msprop:Generator_UserParentTable="OpdrachtDetail" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>